<template>
    <tab-bar>
      <tab-bar-item path='/home' >
        <i slot="item-icon" class="iconfont icon-list-space"></i>
        <span slot="item-text">首页</span>
      </tab-bar-item>
      <tab-bar-item path='/category'>
        <i slot="item-icon" class="iconfont icon-icon"></i>
        <span slot="item-text">分类</span>
      </tab-bar-item>
    </tab-bar>
</template>

<script>
import TabBar from "./TabBar";
import TabBarItem from "./TabBarItem";
export default {
  name:'MainTabBar',
  components: {
    TabBar,
    TabBarItem
  }
};
</script>

<style lang="scss" scoped>
</style>